package org.onion.pattern.event.outbox.config;

import lombok.Data;

import java.util.Set;

@Data
public class EventOutboxConfig {

    private Set<String> groups;

    private Integer interval = 100;

    private Integer batchSize = 100;

    private Integer retryOnPublishFail = 3;

    /**
     * 是否进行事件投递
     */
    private Boolean deliverEnabled;

}
